//
//  BlueCell.m
//  ObjcGoNew
//
//  Created by 邢伟新 on 2021/4/28.
//

#import "BlueCell.h"

@implementation BlueCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


//-(void)setText:(NSString *)text{
//    if (_text != text) {
//        _text = [NSString stringWithFormat:@"蓝色的字体:%@",text];
//    }
//}

-(void)setTextContent:(NSString *)textContent{
    NSString *text = [NSString stringWithFormat:@"蓝色的%@",textContent];
    [super setTextContent:text];
    [self setNeedsLayout];
    
}

-(void)layoutSubviews{
    [super layoutSubviews];
    
    self.textLabel.text = self.textContent;
    
}


@end
